namespace FastNetCore.Core.Response;

public class FailResponseResult : ResponseResult
{

    public FailResponseResult()
        :base()
    {
        this.Code = ResponseCode.FAILURE_CODE;
        this.Message = ResponseCode.GetItemByCode(this.Code);
        this.IsSuccess = false;
    }

    public FailResponseResult(int code, string message)
        :this()
    {
        this.Code=code;
        this.Message = message;
    }

    public FailResponseResult(int code, string message, Object data)
        :this(code,message)
    {
        this.Data = data;
    }
    
}